projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bde93a
)
Don't try to copy the .mo files if they haven't been built.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 23 Dec 2006 21:32:05 +0000
(21:32 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 23 Dec 2006 21:32:05 +0000
(21:32 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/Makefile
patch
|
blob
|
history
diff --git
a/tools/python/Makefile
b/tools/python/Makefile
index 9e957fedf324918c7e5aba6bba4e92392734e47a..1c3a6c4ffcd0532580fda56aea36abba6711b206 100644
(file)
--- a/
tools/python/Makefile
+++ b/
tools/python/Makefile
@@
-26,8
+26,10
@@
install: install-messages
endif
install-messages: all
- mkdir -p "$(DESTDIR)/usr/share/locale"
- cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"
+ if which msgfmt >/dev/null ; then \
+ mkdir -p "$(DESTDIR)/usr/share/locale"; \
+ cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"; \
+ fi
.PHONY: test
test: